package com.tiancheng.commom.pay.lkl.res;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * 拉卡拉接口基础响应
 */
@Data
public class LklBaseRes<T> {
    private String code;
    private String msg;
    @JsonProperty("resp_time")
    private String respTime;
    @JsonProperty("resp_data")
    private T respData;

    public boolean isOK(){
        return null!=this.code && this.code.equals("BBS00000");
    }
}
